package com.jd.jstable.config;

/**
 * 生成key的配置
 * Created by chenyipu on 2018/6/4.
 */
public class KeyMode {
    public static final int NONE = 0;
    public static final int SOME_ARG = 1;

    private Integer value;
    private Integer index;
    /**
     * 区别用的前缀-路径
     */
    private String prefix;

    public KeyMode(Integer value, Integer index, String prefix) {
        this.value = value;
        this.index = index;
        this.prefix = prefix;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
